package com.example.demo.service;

import com.example.demo.entity.Artical;
import com.example.demo.entity.ArticleVO;
import com.example.demo.entity.Shouye;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface ListService  {
    public List<Artical> list();
    public List<Artical> getlist();
    public List<Artical> getpage(ArticleVO articleVO);
    public Integer getcount(ArticleVO articleVO);
    public Integer delete(Integer id);
    public Artical tanchu(Integer id);
    public int update(Artical artical);
    public int update1(Artical artical);
    int Bydelete(Integer[] id);
    public Integer insert(Artical artical);
    List<Artical> search(Artical artical);
    public Artical login(Artical artical);
    List<Artical> getpage1(ArticleVO articleVO);
    Integer getcount1(ArticleVO articleVO);
    public int updateclose(Artical artical);
    //点击量
    public int dianjiliang(Shouye shouye);
}
